package person.xjl.spring;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Getter
@Setter
@ToString
@Order(2)
@Component("spike")
public class Benz implements  Car{
    @Value("Benz")
    private String type;
    @Value("500")
    private int maxSpeed;
}
